\(\int (a+b \arcsin (c x)) \, dx\) [143]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 8, antiderivative size = 30 \[ \int (a+b \arcsin (c x)) \, dx=a x+\frac {b \sqrt {1-c^2 x^2}}{c}+b x \arcsin (c x) \]

[Out]

a*x+b*x*arcsin(c*x)+b*(-c^2*x^2+1)^(1/2)/c

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4715, 267} \[ \int (a+b \arcsin (c x)) \, dx=a x+b x \arcsin (c x)+\frac {b \sqrt {1-c^2 x^2}}{c} \]

[In]

Int[a + b*ArcSin[c*x],x]

[Out]

a*x + (b*Sqrt[1 - c^2*x^2])/c + b*x*ArcSin[c*x]

Rule 267

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 4715

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcSin[c*x])^n, x] - Dist[b*c*n, Int[
x*((a + b*ArcSin[c*x])^(n - 1)/Sqrt[1 - c^2*x^2]), x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rubi steps \begin{align*} \text {integral}& = a x+b \int \arcsin (c x) \, dx \\ & = a x+b x \arcsin (c x)-(b c) \int \frac {x}{\sqrt {1-c^2 x^2}} \, dx \\ & = a x+\frac {b \sqrt {1-c^2 x^2}}{c}+b x \arcsin (c x) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00 \[ \int (a+b \arcsin (c x)) \, dx=a x+\frac {b \sqrt {1-c^2 x^2}}{c}+b x \arcsin (c x) \]

[In]

Integrate[a + b*ArcSin[c*x],x]

[Out]

a*x + (b*Sqrt[1 - c^2*x^2])/c + b*x*ArcSin[c*x]

Maple [A] (verified)

Time = 0.01 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00

method result size
default \(a x +\frac {b \left (c x \arcsin \left (c x \right )+\sqrt {-c^{2} x^{2}+1}\right )}{c}\) \(30\)
parts \(a x +\frac {b \left (c x \arcsin \left (c x \right )+\sqrt {-c^{2} x^{2}+1}\right )}{c}\) \(30\)
derivativedivides \(\frac {c x a +b \left (c x \arcsin \left (c x \right )+\sqrt {-c^{2} x^{2}+1}\right )}{c}\) \(32\)

[In]

int(a+b*arcsin(c*x),x,method=_RETURNVERBOSE)

[Out]

a*x+b/c*(c*x*arcsin(c*x)+(-c^2*x^2+1)^(1/2))

Fricas [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.03 \[ \int (a+b \arcsin (c x)) \, dx=\frac {b c x \arcsin \left (c x\right ) + a c x + \sqrt {-c^{2} x^{2} + 1} b}{c} \]

[In]

integrate(a+b*arcsin(c*x),x, algorithm="fricas")

[Out]

(b*c*x*arcsin(c*x) + a*c*x + sqrt(-c^2*x^2 + 1)*b)/c

Sympy [A] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.87 \[ \int (a+b \arcsin (c x)) \, dx=a x + b \left (\begin {cases} x \operatorname {asin}{\left (c x \right )} + \frac {\sqrt {- c^{2} x^{2} + 1}}{c} & \text {for}\: c \neq 0 \\0 & \text {otherwise} \end {cases}\right ) \]

[In]

integrate(a+b*asin(c*x),x)

[Out]

a*x + b*Piecewise((x*asin(c*x) + sqrt(-c**2*x**2 + 1)/c, Ne(c, 0)), (0, True))

Maxima [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.97 \[ \int (a+b \arcsin (c x)) \, dx=a x + \frac {{\left (c x \arcsin \left (c x\right ) + \sqrt {-c^{2} x^{2} + 1}\right )} b}{c} \]

[In]

integrate(a+b*arcsin(c*x),x, algorithm="maxima")

[Out]

a*x + (c*x*arcsin(c*x) + sqrt(-c^2*x^2 + 1))*b/c

Giac [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.97 \[ \int (a+b \arcsin (c x)) \, dx=a x + \frac {{\left (c x \arcsin \left (c x\right ) + \sqrt {-c^{2} x^{2} + 1}\right )} b}{c} \]

[In]

integrate(a+b*arcsin(c*x),x, algorithm="giac")

[Out]

a*x + (c*x*arcsin(c*x) + sqrt(-c^2*x^2 + 1))*b/c

Mupad [B] (verification not implemented)

Time = 0.18 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.93 \[ \int (a+b \arcsin (c x)) \, dx=a\,x+\frac {b\,\sqrt {1-c^2\,x^2}}{c}+b\,x\,\mathrm {asin}\left (c\,x\right ) \]

[In]

int(a + b*asin(c*x),x)

[Out]

a*x + (b*(1 - c^2*x^2)^(1/2))/c + b*x*asin(c*x)